<?php

namespace System\library;


/**
 * <b>Class</b> :        Cli<br>
 * <b>Fonction</b> :     Cli class manager
 * <br>
 * @version              1.0
 * @author               Dread <dreadlokeur@gmail.com>
 * @license              Licence publique générale GNU http://www.gnu.org/licenses/gpl.html
 * @copyright            Copyright 2011 - MidichloriansPHP and contributors
 * @package              System
 * @subpackage           library
 */
class Cli {
    public function __construct(){
        
    }
    public static function isCliMode() {
        return (PHP_SAPI === 'cli');
        //return (substr(php_sapi_name(), 0, 3) == 'cli');
    }

}

?>
